package com.tom.domain;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author pengh.liu
 * @since 2021-12-02
 */
@TableName("t_vip_regiest_log")
public class VipRegiestLog extends Model<VipRegiestLog> {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String phone;
    @TableField("create_time")
    private Date createTime;
    @TableField("sms_code")
    private String smsCode;
    private String key;
    private Integer type;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "VipRegiestLog{" +
        ", id=" + id +
        ", phone=" + phone +
        ", createTime=" + createTime +
        ", smsCode=" + smsCode +
        ", key=" + key +
        ", type=" + type +
        "}";
    }
}
